home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / Languages / Masm V6.11 / ERRMSG.TX$ / ERRMSG.bin
Encoding:
Text File  |  1993-09-29  |  9.3 KB  |  291 lines

  1.              Notes on MASM 6.11 Error Messages
  2.              (c) Copyright Microsoft Corp. 1993
  3.  
  4.      
  5.      This text file contains information on the following:
  6.      
  7.      - 32-bit Linker Errors
  8.      - ML Errors Update
  9.      - Microsoft MS-DOS Extender Run-Time Errors
  10.  
  11. =============================================================================
  12.      
  13.      32-Bit Linker Errors
  14.      --------------------
  15.      If you attempt to assemble a 16-bit executable file, but call the 
  16.      32-bit version of LINK, you will receive a LNKnnnn error message. 
  17.      The following output example illustrates specifically which error 
  18.      messages you may receive:
  19.       
  20.       **********************************************************
  21.       Microsoft (R) 32-Bit Executable Linker Version 1.0
  22.       Copyright (C) Microsoft Corp 1992-93. All rights reserved.
  23.  
  24.       /z2
  25.       "afile.obj"
  26.       "afile.exe"
  27.       NUL
  28.       LINK : warning LNK4044: unrecognized option "z2"; ignored
  29.       LINK : warning LNK4044: unrecognized option "r"; ignored
  30.       LINK : error LNK1104: cannot open file "afile.exe"
  31.       **********************************************************
  32.      
  33.      You may also receive the warning
  34.  
  35.       cvtomf() : warning : 16-bit segment
  36.  
  37.      If you are building a 16-bit executable file, use the LINK.EXE 
  38.      included with MASM 6.11. If you have the directories for both the 
  39.      16-bit and 32-bit linkers included in your PATH, the directory 
  40.      containing the 16-bit LINK.EXE must be listed before the directory 
  41.      containing the 32-bit linker.
  42.  
  43.  
  44.      ML Errors Update
  45.      ----------------
  46.      The following is updated information on ML error messages. The
  47.      complete list of assembler error messages is located in Appendix A
  48.      of the MASM Environment and Tools book.
  49.  
  50.       A1004: out of memory
  51.  
  52.          The assembler could not load the file because all memory 
  53.          is exhausted. For ML.EXE to run with the Microsoft Windows 
  54.          operating system, a Windows swap file must exist.
  55.  
  56.  
  57.       A1018: COFF error writing file
  58.          
  59.          The assembler was unable to write to an output file. One
  60.          of the following may be the cause:
  61.  
  62.          - The current disk is full.
  63.          - The current disk is read-only.
  64.          - The disk you are writing to is not ready.
  65.  
  66.       
  67.       A1019: invalid debug and browser data; file exceeds line limit 
  68.               
  69.          The assembler cannot generate debug or browse information 
  70.          on an OMF file longer than 32,767 lines, or on a coff file
  71.          longer than 65,553 lines.
  72.         
  73.          To eliminate this error:
  74.  
  75.          - Break the file up into smaller pieces (each having less 
  76.            than 32,767 lines for OMF files, 65,553 for coff files) 
  77.            and reassemble, or
  78.  
  79.          - Assemble without options /Zi, /Fr, or /FR.
  80.  
  81.       
  82.       A1020: cannot find LINK.EXE
  83.  
  84.          This error occurs when LINK.EXE cannot be found on the 
  85.          path. Placing LINK.EXE on the path will resolve this error.
  86.  
  87.  
  88.       A1021: cannot find cvpack.exe
  89.  
  90.          This error occurs when CVPACK.EXE cannot be found on the 
  91.          path. Placing CVPACK.EXE on the path will resolve this 
  92.          error.
  93.  
  94.  
  95.       A2210: 16-bit segments not allowed with /coff option
  96.  
  97.          You have attempted to compile a 16-bit segment module with
  98.          the /coff option. Remove the /coff switch from your command
  99.          line and recompile.
  100.          
  101.  
  102.       A2211: FAR not allowed in flat-model comm variables
  103.  
  104.          The assembler has detected a FAR directive in a flat-model
  105.          program. The FAR directive is irrelevant for flat-model 
  106.          programs and should be removed.
  107.  
  108.  
  109.       A2212: invalid .model parameter for flat model
  110.       
  111.          The assembler has detected nearstack or farstack 
  112.          directives in a flat-model program. These directives are 
  113.          irrelevant for flat-model programs and should be removed.
  114.       
  115.  
  116.       A4014: directive ignored with /coff switch
  117.  
  118.          Directives .SEQ, .ALPHA, and .DOSSEG are ignored when 
  119.          assembling with the /coff switch. These directives have no 
  120.          effect and should be removed from flat-model code.
  121.  
  122.  
  123.       A4015: /Gc switch incompatible with flat model
  124.  
  125.          The /Gc switch is incompatible when assembling a flat-
  126.          model program. The switch was ignored.
  127.  
  128.  
  129.       A4016: /AT switch incompatible with flat model
  130.  
  131.          The /AT switch is incompatible when assembling a flat-
  132.          model program. The switch was ignored. 
  133.          
  134.       
  135.       A4017: invalid command-line option: /<option>
  136.  
  137.          ML has detected a command-line option that is invalid.
  138.          The option was removed and ML compiled as it normally
  139.          would.
  140.  
  141.  
  142.       A5006: calling convention not supported in flat model
  143.  
  144.          ML has detected a calling convention not supported in 
  145.          flat-model programs. The convention was ignored.
  146.  
  147.  
  148.      Microsoft MS-DOS Extender Run-Time Errors
  149.      -----------------------------------------
  150.      The MASM assembler, ML.EXE, is a 32-bit MS-DOS-extended program. An
  151.      MS-DOS Extender error can occur when you run ML. MS-DOS Extender 
  152.      errors have the following format:
  153.  
  154.      DOSXNT : error DXnnnn: message
  155.  
  156.  
  157.       DX1020: unhandled exception: exception; contact Microsoft 
  158.           Support Services
  159.  
  160.           A problem exists in ML.EXE. Additional information 
  161.           appears after this error message. Note the circumstances 
  162.           of the error and notify Microsoft Corporation by 
  163.           following the instructions in the "Microsoft Support 
  164.           Services" section in the Microsoft MASM Environment and 
  165.           Tools book.
  166.  
  167.  
  168.       DX1070: GODOSXNT.EXE stub out of date
  169.  
  170.           ML is not compatible with the version of DOSXNT.EXE 
  171.           available. A compatible version of the Microsoft DOSXNT 
  172.           MS-DOS Extender (DOSXNT.EXE) must exist in the same 
  173.           directory or in a directory specified in the PATH 
  174.           environment variable.
  175.  
  176.           This error can result when Microsoft MASM 6.11 is 
  177.           installed in the same directory as another language 
  178.           product. Try reinstalling MASM 6.11 in a different 
  179.           directory.
  180.  
  181.  
  182.       DX1140: DOSXNT.386 driver required to run with Windows
  183.  
  184.           For ML.EXE to run with the Microsoft Windows operating 
  185.           system, the driver called DOSXNT.386 must be specified 
  186.           in the [386Enh] section of the SYSTEM.INI file as 
  187.           follows:
  188.  
  189.           DEVICE=<path>\DOSXNT.386
  190.  
  191.           where <path> is the directory that contains the 
  192.           DOSXNT.386 file.
  193.  
  194.  
  195.       DX1180: cannot load program : <reason>
  196.  
  197.           The MS-DOS Extender could not load ML.EXE for the given 
  198.           reason. The message describing the reason can be one of 
  199.           the following:
  200.  
  201.           - access denied to file
  202.                Change the access rights for the file.
  203.  
  204.           - invalid or corrupted .EXE file
  205.                Contact Microsoft Support Services.
  206.  
  207.           - out of memory
  208.                Remove some TSRs or add more memory.
  209.  
  210.           - too many open files
  211.                Either close some files or increase the number of 
  212.                file handles specified in the FILES= statement in 
  213.                CONFIG.SYS.
  214.  
  215.  
  216.       DX1230: DOSXNT initialization failed
  217.  
  218.           This error usually follows error DX5420.
  219.  
  220.  
  221.       DX1270: command-line error : unknown command switch
  222.  
  223.           This error occurs if one of the following environment 
  224.           variables is set: G, GO, GOT, GOTN, GOTNT, T, TN, TNT. 
  225.      
  226.           To see the current settings of environment variables, run 
  227.           the SET command at the operating system prompt. To clear 
  228.           an environment variable, run the command SET variable=, 
  229.           where variable is the name of the variable to be cleared; 
  230.           no other characters can appear before you press ENTER. 
  231.           Changes in environment variables must be made outside of 
  232.           Windows. Check the AUTOEXEC.BAT file for environment 
  233.           variable settings.
  234.  
  235.  
  236.       DX1350: cannot load program: file not found
  237.  
  238.           This error occurs if one of the following environment 
  239.           variables is set: G, GO, GOT, GOTN, GOTNT, T, TN, TNT.
  240.  
  241.           To see the current settings of environment variables, 
  242.           run the SET command at the operating system prompt. To 
  243.           clear an environment variable, run the command SET 
  244.           variable=, where variable is the name of the variable to 
  245.           be cleared; no other characters can appear before pressing 
  246.           ENTER. Changes in environment variables must be made 
  247.           outside of Windows. Check the AUTOEXEC.BAT file for 
  248.           environment variable settings.
  249.  
  250.      
  251.       DX1390: cannot load program
  252.  
  253.           DOSXNT cannot load the executable file because all memory 
  254.           is exhausted. For ML.EXE to run with the Microsoft Windows 
  255.           operating system, a Windows swap file must exist.
  256.  
  257.  
  258.       DX5420: CheckDPMI: error when checking for coprocessor support
  259.  
  260.           For ML.EXE to run with the Microsoft Windows operating 
  261.           system, the following must be specified in the [386Enh] 
  262.           section of SYSTEM.INI:
  263.      
  264.           DEVICE=*vmcpd
  265.  
  266.       
  267.       Phar Lap err 58: Can't create VM swap file of size 0 in 
  268.           directory T:\
  269.  
  270.           where T:\ is a read-only network drive. This error
  271.           may occur in the MS-DOS environment (outside of Windows)
  272.           when ML.EXE is located on a read-only network share.
  273.           To avoid this error, you can do one of the following:
  274.  
  275.           - Set the DOSX environment variable to "-novm" as
  276.             follows:
  277.           
  278.             set dosx=-novm
  279.  
  280.             This instructs the dos extender not to use VM.
  281.  
  282.           - Set the DOSX environment variable to "-swapdir 
  283.             c:\<dir>" as follows:
  284.           
  285.             set dosx=-swapdir c:\<dir>
  286.             
  287.             where <dir> is a directory on drive C:. This instructs 
  288.             the MS-DOS Extender to put the swap file in the 
  289.             specified directory.
  290.  
  291.